package com.dragon.pear.modules.sample.service.impl;

import org.springframework.stereotype.Service;
import org.springframework.beans.factory.annotation.Autowired;
import com.dragon.pear.modules.sample.dao.repository.SmpOrderGoodsRepository;
import com.dragon.pear.modules.sample.service.assistants.converters.SmpOrderGoodsConverter;
import com.dragon.pear.modules.sample.service.def.SmpOrderGoodsService;

/**
 * @author Chris Chan
 * Create on 2025-10-15 17:59
 * Use for: 订单商品 业务处理服务 实现类
 * Explain:
 * 
 */
@Service
public class SmpOrderGoodsServiceImpl implements SmpOrderGoodsService {
    @Autowired
    private SmpOrderGoodsRepository smpOrderGoodsRepository;
    @Autowired
    private SmpOrderGoodsConverter smpOrderGoodsConverter;

    @Override
    public SmpOrderGoodsRepository getRepository() {
        return smpOrderGoodsRepository;
    }

    @Override
    public SmpOrderGoodsConverter getConverter() {
        return smpOrderGoodsConverter;
    }
}